package com.thekernel.youdaoyun.exception;

import com.thekernel.youdaoyun.util.ResponseUtils;

/**
 * @Author TheKernel
 * @Date 2019/9/15 4:13 下午
 * @Version 1.0
 * @Description 异常父类
 */
public abstract class MyException extends Exception {

    public MyException() {
        super();
    }

    @Override
    public String getMessage() {
        return ResponseUtils.response(ResponseUtils.FAILED, "Unknown Error", null);
    }
}
